package com.hexinfo.dmpro.monitor.model.serviceparam;

import lombok.Data;

@Data
public class WarnSendLogModel {

    //id
    private String id;
    //集群编码
    private String cmFlag;
    //集群
    private String cmName;
    //子集群编码
    private String clusterFlag;
    //子集群
    private String clusterName;
    //组件
    private String serviceType;
    //指标
    private String targetName;
    //接收人-对应接收人表接收人备注（填写中文名）
    private String recipientUser;
    //告警内容
    private String warnContent;
    //发送类型-1微信，2钉钉，3微信钉钉
    private String sendingType;
    //发送时间
    private String createTime;
    //发送状态-1发送成功，2发送失败
    private String state;

    public WarnSendLogModel(String id, String cmFlag, String cmName, String clusterFlag, String clusterName,
                            String serviceType, String targetName, String recipientUser, String warnContent,
                            String sendingType, String state) {
        this.id = id;
        this.cmFlag = cmFlag;
        this.cmName = cmName;
        this.clusterFlag = clusterFlag;
        this.clusterName = clusterName;
        this.serviceType = serviceType;
        this.targetName = targetName;
        this.recipientUser = recipientUser;
        this.warnContent = warnContent;
        this.sendingType = sendingType;
        this.state = state;
    }
}
